package com.ruoyi.common;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
 
public class User {
	
    public User() {
		super();
	}
	
    public User(String name, Integer age) {
		super();
		this.name = name;
		this.age = age;
		this.localDateTime = LocalDateTime.now();
	}

	@ExcelProperty("姓名")
    private String name;
 
    @ExcelProperty("年龄")
    private Integer age;
    
    @ExcelProperty("创建时间")
    private LocalDateTime localDateTime;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public LocalDateTime getLocalDateTime() {
		return localDateTime;
	}

	public void setLocalDateTime(LocalDateTime localDateTime) {
		this.localDateTime = localDateTime;
	}
    
    
 
    // 构造器、getter和setter省略
}